import { defineStore } from 'pinia';
import { ref } from 'vue'
export const useShowPayResult = defineStore('isShowPayResult', () => {
  const isPayResult = ref(false);

  const showPayResult = () => {
    isPayResult.value = true;
  };

  const unPayResult = () => {
    isPayResult.value = false;
  };

  return { isPayResult, showPayResult, unPayResult };
});
